<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<script type="application/javascript" src="./js/echarts.min.js"></script>	
	</head>
	<body style="height: 100%; margin: 0px;">
		<div id="echarts" style="height: 400px;width: 100%; "></div>
	</body>
	<script type="application/javascript">
		var myChart = echarts.init(document.querySelector("#echarts"));
		function loadEcharts(echartJson){
                var option = JSON.parse(echartJson);
                if (option &&typeof option ==="object") {
                    myChart.setOption(option,true);
                }
            }
	</script>
</html>
